
#ifndef _MEMBER_BCONSTRAINT_H_
#define _MEMBER_BCONSTRAINT_H_

#include <BNode>
#include <BConstraint>

#define constraint_member(constraint)		((member_BConstraint*)((BConstraint*)constraint)->_ptr)

namespace BWE
{
	class member_BConstraint
	{
	public:
		member_BConstraint(BConstraint* constraint);
		~member_BConstraint();
		
		BConstraint*		boss;
		BGroup*				group;
		BHolder<BNode>		nodeA;
		BVector				pointA;
		BHolder<BNode>		nodeB;
		BVector				pointB;
		bool				innerCollible;
		BReal				breakImpulse;

	};
}

#endif
